import request from '../request'

const Api = {

  paging: '/api/sys/repo/paging',
  save: '/api/sys/repo/save',
  remove: '/api/sys/repo/delete',
}

/**题库分页*/
export const paging = data => {
  return request.request({
    url: Api.paging,
    data: data,
    method: 'POST'
  })
}
/**题库新增或修改*/
export const save = data => {
  return request.request({
    url: Api.save,
    data: data,
    method: 'POST'
  })
}
/**题库新增或修改*/
export const remove = data => {
  return request.request({
    url: Api.remove,
    data: data,
    method: 'POST'
  })
}
